package com.ruoyi.loupan.mapper;

import java.util.List;
import com.ruoyi.loupan.domain.TbPremisesFacility;

/**
 * 楼盘配套Mapper接口
 * 
 * @author wukaige
 * @date 2021-07-01
 */
public interface TbPremisesFacilityMapper 
{
    /**
     * 查询楼盘配套
     * 
     * @param id 楼盘配套ID
     * @return 楼盘配套
     */
    public TbPremisesFacility selectTbPremisesFacilityById(Long id);

    /**
     * 查询楼盘配套列表
     * 
     * @param tbPremisesFacility 楼盘配套
     * @return 楼盘配套集合
     */
    public List<TbPremisesFacility> selectTbPremisesFacilityList(TbPremisesFacility tbPremisesFacility);

    /**
     * 新增楼盘配套
     * 
     * @param tbPremisesFacility 楼盘配套
     * @return 结果
     */
    public int insertTbPremisesFacility(TbPremisesFacility tbPremisesFacility);

    /**
     * 修改楼盘配套
     * 
     * @param tbPremisesFacility 楼盘配套
     * @return 结果
     */
    public int updateTbPremisesFacility(TbPremisesFacility tbPremisesFacility);

    /**
     * 删除楼盘配套
     * 
     * @param id 楼盘配套ID
     * @return 结果
     */
    public int deleteTbPremisesFacilityById(Long id);

    /**
     * 批量删除楼盘配套
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTbPremisesFacilityByIds(Long[] ids);
}
